#!/bin/sh

echo "Create location for linkease"
mkdir /usr/local/linkease

echo "downloading linkease"
cd /usr/local/linkease
fetch https://fw.koolcenter.com/binary/LinkEase/LinuxStorage/linkease.amd64
chmod 755 linkease.amd64

echo "enabling the services"
sysrc linkease_enable=YES

echo "starting the service"
./linkease.amd64
